package com.hy.convenient.api.server;

import com.hy.convenient.api.dao.VipLevelMapper;
import com.hy.convenient.api.pojo.VipLevel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Description TODO
 * @className CategoryServer
 * @Author hdy
 * @Date 2020-12-28 9:30
 * @Version 1.0
 */
@Service
public class VipLevelServer implements ApiServerInterface<VipLevel> {
    @Autowired
    private VipLevelMapper vipLevel;

    @Override
    public List<VipLevel> queryDownList(Map<String, Object> map) {
        return vipLevel.queryDownList(map);
    }

    @Override
    public int queryCount(Map<String, Object> t) {
        return vipLevel.queryCount(t);
    }

    @Override
    public List<VipLevel> queryUpdateDownList(Map<String, Object> map) {
        return vipLevel.queryUpdateDownList(map);
    }
    public  VipLevel  queryPojo(Map<String ,Object> map){
        return vipLevel.queryPojo(map);
    }
}
